export default [
    /* 团体下单路由 */
    {
        path: '/group-order/',
        name: 'groupOrder',
        meta: {
            title: '团体下单'
        },
        component: () => import(/* webpackChunkName: 'takeaway-order' */ '@/views/group-order/'),
        redirect: '/group-order/order-setting',
        /*团体下单子路由*/
        children: [
            /*设置页*/
            {
                path: '/group-order/order-setting',
                name: 'groupOrderSetting',
                meta: {
                    title: '订单设置'
                },
                component: () => import(/* webpackChunkName: 'takeaway-order' */ '@/views/group-order/order-setting')
            },
            /*订单详情页*/
            {
                path: '/group-order/order-detail',
                name: 'groupOrderDetail',
                meta: {
                    title: '订单详情'
                },
                component: () => import(/* webpackChunkName: 'takeaway-order' */ '@/views/group-order/order-detail')
            },
            {
                path: '/group-order/copy-list',
                name: 'groupOrderCopyList',
                meta: {
                    title: '复制订单'
                },
                component: () => import(/* webpackChunkName: 'takeaway-order' */ '@/views/group-order/order-copy')
            }
        ]
    }
];
